package com.zhuliwei.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
/**
 * (Notice)表实体类
 *
 * @author 朱力维
 * @since 2024-11-14 10:56:50
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("zlw_notice")
public class Notice  {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    //通知内容
    private String content;
    //是否已读(0:未读，1:已读
    private String isRead;
    //通知类型（0：评论通知，1：审核通知，2：文章通知，3：系统通知）
    private String type;
    //所属用户id
    private String userId;
    //所属文章id
    private String articleId;
//    @TableField(fill = FieldFill.INSERT)
    private String createBy;
//    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    
    private Integer delFlag;



}

